package com.carkeeper.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
public class OrderDTO implements Serializable {
    private Long id;
    private String code;
    private Long storeId;//商家id
    private String storeName;//商家名称
    private String storeTel;//商家电话
    private Integer userId;//用户id
    private String carCode;//车牌号
    private String carName;
    private String engineCode;//发动机号
    private String frameCode;
    private String contact;
    private String contactTel;//联系电话
    private Date payDate;//支付时间
    private Integer money;//金额
    private String type;
    private String payStatus; //支付状态
    private String serviceDate;// 服务日期
    private Integer isDelete;
    private String orderStatus;//订单状态
    @TableField(exist = false)
    private List<OrderDetailDTO> orderDetailPOList;
    @TableField(exist = false)
    private StoreDTO storeDTO;
    @TableField(exist = false)
    private UserDTO userDTO;
    @TableField(exist = false)
    private CarDTO car;
    private LocalDateTime createTime;
}
